package com.prs.crm.dao.approval.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.approval.RedFileDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.approval.RedFile;

public class RedFileDaoImpl extends BaseDaoImpl<RedFile> implements RedFileDao{

	@Override
	public List<RedFile> getAll() {
		Criteria cri = this.getSession().createCriteria(RedFile.class);
		return cri.list();
	}

}
